using System;
using System.IO;
using System.Collections.Generic;

namespace Caramel.IO
{
	public static class DirectoryInfoExtensions
	{
		public static void Create(this IDirectoryInfo directoryInfo)
		{
			directoryInfo.Create(null);
		}

		public static IDirectoryInfo CreateSubdirectory(this IDirectoryInfo directoryInfo, string path)
		{
			return directoryInfo.CreateSubdirectory(null);
		}
	}
}
